package br.com.felix.bmt.web;

import java.io.File;

import br.com.felix.fwt.log.LoggerFactory;
import br.com.felix.fwt.test.InterfacePreview;

/**
 * It is very good to know how things will look like before deploying to the server, isn't it?
 * */
public class BlogMgtPreview extends InterfacePreview{

	
	public static void main(String args[]){
		LoggerFactory.setLog4JPath(new File("F:\\java\\projetos\\BlogManagement\\src\\log4j.properties"));
		BlogMgtPreview.outputDirectory = "d:\\";
		try {
			UserSelection home = new UserSelection();
			home.initializeUserInterface();
			generatePreview(home);
			System.out.println("Preview completed!");
		}
		catch (Exception e) {
			System.out.println("Preview generation failed.");
			e.printStackTrace();
		}
	}
}
